package com.hongyi.mapper;

import com.hongyi.pojo.User;
import com.hongyi.vo.UserVo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @Author: hongyi
 * @CreateTime: 2024-08-28
 */


@Mapper
public interface UserMapper {
    public List<User> findALl();

    public User getById(Long id);

    /**
     * @param user
     */
    public void save(User user);


    /**
     * @param user
     */
    public void update(User user);


    /**
     * @param id
     */
    public void delete(Long id);


    public List<User> findName(String name);

    List<User> findUser(User user);


}
